package com.be.beadmin.material.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "T_BD_MATERIAL_BACKUP")
public class MaterialBasicInfo extends BaseEntity {

    @Column(name = "MaterialCode", columnDefinition = "VARCHAR(50) COMMENT '物料编码' ")
    private String materialCode;

    @Column(name = "MaterialName", columnDefinition = "VARCHAR(50) COMMENT '物料名称' ")
    private String materialName;

    @Column(name = "MaterialSpec", columnDefinition = "VARCHAR(50) COMMENT '规格型号' ")
    private String materialSpec;

    @Column(name = "Unit", columnDefinition = "VARCHAR(50) COMMENT '单位' ")
    private String unit;

    @Column(name = "Para", columnDefinition = "VARCHAR(50) COMMENT '参数' ")
    private String para;

    @Column(name = "Category", columnDefinition = "VARCHAR(50) COMMENT '物料分类' ")
    private String category;

    @Column(name = "BarCode", columnDefinition = "VARCHAR(50) COMMENT '条码' ")
    private String barCode;

    @Column(name = "Brand", columnDefinition = "VARCHAR(50) COMMENT '品牌' ")
    private String brand;

    @Column(name = "Effective", columnDefinition = "VARCHAR(50) COMMENT '是否有效' ")
    private String effective;

    @Column(name = "MaterialProperty", columnDefinition = "VARCHAR(50) COMMENT '属性名称' ")
    private String materialProperty;
}
